import {request} from "@/utils/request.js";

export function apiGetBanner(){
	return request({
		url:"https://api.oioweb.cn/api/bing",
	});

}

//如诗api
export function apiGetDayRandom(){
	return request({url:"https://api.likepoems.com/img/pe/?json"});
	
}

export function apiGetClassify(data={}){
	return request({
		url:"https://tea.qingnian8.com/api/bizhi/classify",
		data
		});
}

export function apiGetClassList(data={}){
	return request({
		url:"https://tea.qingnian8.com/api/bizhi/wallList",
		data
		});
}

export function apiGetSetupScore(data={}){
	return request({
		url:"https://tea.qingnian8.com/api/bizhi/setupScore",
		data
		});
}

export function apiWriteDownload(data={}){
	return request({
		url:"https://tea.qingnian8.com/api/bizhi/downloadWall",
		data
		});
}

export function apiDetailWall(data={}){
	return request({
		url:"https://tea.qingnian8.com/api/bizhi/detailWall",
		data
		});
}
//用户
export function apiUserInfo(data={}){
	return request({
		url:"https://tea.qingnian8.com/api/bizhi/userInfo",
		data
		});
}

//历史记录
export function apiGetHistoryList(data={}){
	return request({
		url:"https://tea.qingnian8.com/api/bizhi/userWallList",
		data
		});
}

//搜索框
export function apiSearchData(data={}){
	return request({
		url:"https://tea.qingnian8.com/api/bizhi/searchWall",
		data
		});
}
